import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// #1
import { join } from "node:path";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  // #2
  resolve: {
    alias: {
      "@": join(__dirname, "./src/"),
    },
  },
});
